<?php
/**
 * created by zyj
 * date: 2019/01/11 15:00
 */
namespace App\Api\Service\Routes;

use Dingo\Api\Routing\Router;

class ProcessproductRoute
{
    public function map(Router $router)
    {
        $router->group(['namespace' => 'Processproduct\Controllers', 'prefix'=>'processproduct'], function ($router) {
            //半成品列表
            $router->any('getProcessProductList', 'IndexController@getProcessProductList');
            //半成品详情
            $router->any('getProcessProductDetail', 'IndexController@getProcessProductDetail');
            //扫码获取半成品数量
            $router->any('getProcessProductQrDetail', 'IndexController@getProcessProductQrDetail');

            //领料界面，添加半成品到工序工单
            $router->any('addOrderProcessProduct', 'IndexController@addOrderProcessProduct');

            //领料界面，添加数量
            $router->any('receiveOrderProcessProduct', 'IndexController@receiveOrderProcessProduct');

        });
    }
}